home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
BBS Toolkit
/
BBS Toolkit.iso
/
gt_power
/
gtusrd10.zip
/
GTUSRDMP.DOC
next >
Wrap
Text File
|
1991-12-07
|
4KB
|
83 lines
┌─────────────────────────────────────────────────────────────────────┐
│ GT User Dump v1.0 │
└─────────────────────────────────────────────────────────────────────┘
by
Douglas Pippel - GTNet 075/001
Released 12/6/91
GT User Dump is a quick and dirty little utility that I wrote out of
frustration. I was building a user database application with Clarion
and searched high and low, to no avail, for a program that would dump
GT Power's USER.CTL file to a proper comma-delimited database import
format. Hence GT User Dump.
┌─────────────────────────────────────────────────────────────────────┐
│ What It Do Do │
└─────────────────────────────────────────────────────────────────────┘
This program will read your USER.CTL and create a straight ASCII file
from it. Output is one record per line (terminated with a CR), fields
are enclosed by quotes ("John Doe") and delimited by commas ("John
Doe","Anytown, Florida"). This is the standard "BASIC" or "ASCII"
import file format used by most popular database programs such as Q&A,
R:Base, Clarion, etc.
Field order is as follows:
User Name, date of first call, time of first call, date of last call,
time of last call, netmail credits, netmail charges, number of times
on, banned flag, expert mode flag, nonstop flag, city/state, phone
number, password, access level, calls today, acummulated time, screen
length, uploaded kb, uploaded files, downloaded kb, downloaded files,
caller number, expiration date, time bank, downloaded kb today, time
bank deposits today, time bank withdrawals today.
I have omitted the deleted flag, protocol, hash code and CB handle
fields since they are either transient data or are of no practical use.
┌─────────────────────────────────────────────────────────────────────┐
│ How To Do It │
└─────────────────────────────────────────────────────────────────────┘
To use GT User Dump, merely copy the program into any directory defined
in your DOS path, change to your GTPATH directory and enter GTUSRDMP at
the command line. That's all there is to it. You *MUST* be in your
GTPATH directory for the program to work...I didn't make it smart
<grin>. An output file named GTUSRDMP.ASC will be created in the GTPATH
directory. You can then import the data into your favorite database
program and look at all of the wonderful users you have, perform
calculus on their upload/download ratios, twiddle their bits or what
have you.
──────────────────────────────
GT User Dump v1.0 is ***GT 17.00 SPECIFIC*** !!! To my knowledge it
will *NOT* work with any other version of GT Power, has not been
tested with any other version of GT Power, and may indeed TOTALLY TRASH
your user file if you try to run it with any other version of GT Power.
There - you can't say that I didn't warn you <grin>.
GT User Dump is absolutely FREE. You really wouldn't want to pay money
for something like this anyway. It may be distributed with whatever you
like and used however, wherever and with whomever you like.
DISCLAIMER: Use this program ENTIRELY at your own risk! There are no
warranties expressed or implied. The author will not be reponsible for
loss of data (or anything else) that results from the use of this
program.
If I get ambituous and there is a need, I may add some enhancements to
the program such as GTPATH recognition, skipping deleted users,
user-selectable record dumps, user-defined field delimiters, etc. in
the future. However, please don't hold your breath. For anyone who's
interested, this program was written using Borland C++ v2.0
Professional.